<Project Sdk="Microsoft.Build.NoTargets">
  <PropertyGroup>
    <TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppPrevious);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
    <IsPackable>true</IsPackable>
    <StrongNameKeyId>Microsoft</StrongNameKeyId>
    <!-- A meta package doesn't have any artifacts per TargetFramework. -->
    <NoWarn>$(NoWarn);NU5128</NoWarn>
    <!-- Reference dependencies to persiste them in the project's project.assets.json file which is used to calculate package dependencies. -->
    <NoTargetsDoNotReferenceOutputAssemblies>false</NoTargetsDoNotReferenceOutputAssemblies>
    <PackageDescription>This package provides a version of the Managed Extensibility Framework (MEF) that is lightweight and specifically optimized for high throughput scenarios, such as the web.

Commonly Used Types:
System.Composition.ExportAttribute
System.Composition.ImportAttribute
System.Composition.Convention.ConventionBuilder
System.Composition.Hosting.CompositionHost
System.Composition.CompositionContext
System.Composition.CompositionContextExtensions</PackageDescription>

    <!-- TODO https://github.com/dotnet/runtime/issues/90400: Annotate for nullable reference types -->
    <Nullable>disable</Nullable>
    <NoWarn>$(NoWarn);nullable</NoWarn>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="$(LibrariesProjectRoot)System.Composition.AttributedModel\src\System.Composition.AttributedModel.csproj" />
    <ProjectReference Include="$(LibrariesProjectRoot)System.Composition.Convention\src\System.Composition.Convention.csproj" />
    <ProjectReference Include="$(LibrariesProjectRoot)System.Composition.Hosting\src\System.Composition.Hosting.csproj" />
    <ProjectReference Include="$(LibrariesProjectRoot)System.Composition.Runtime\src\System.Composition.Runtime.csproj" />
    <ProjectReference Include="$(LibrariesProjectRoot)System.Composition.TypedParts\src\System.Composition.TypedParts.csproj" />
  </ItemGroup>

  <!-- Create placeholder files in the meta package to make sure that NuGet picks the right asset. -->
  <ItemGroup>
    <None Include="$(PlaceholderFile)" PackagePath="lib/netstandard2.0" Pack="true" />
    <None Include="$(PlaceholderFile)" PackagePath="lib/net461" Pack="true" />
    <None Include="$(PlaceholderFile)" PackagePath="lib/netcoreapp2.0" Pack="true" />
  </ItemGroup>
</Project>
